<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0">
    <link rel="stylesheet" href="css/reset.css"/>
    <link rel="stylesheet" href="css/my-card.css"/>
    <link rel="stylesheet" href="css/tab.css"/>
    <title></title>
</head>
<body>
<div class="login">
    <a href="#">欢迎 13000000 [退出]</a>
</div>
<div class="coupons-container">
    <div class="coupon-item silver-365">
        <div class="coupon-left">
            <div class="time">领取时间:2017.01.01</div>
            <div class="code">编码:ADF32152</div>
        </div>
        <a href="#" class="coupon-right"></a>
    </div>
    <div class="coupon-item silver-665">
        <div class="coupon-left">
            <div class="time">领取时间:2017.01.01</div>
            <div class="code">编码:ADF32152</div>
        </div>
        <a href="#" class="coupon-right"></a>
    </div>
    <div class="coupon-item silver-1365">
        <div class="coupon-left">
            <div class="time">领取时间:2017.01.01</div>
            <div class="code">编码:ADF32152</div>
        </div>
        <a href="#" class="coupon-right"></a>
    </div>
    <div class="coupon-item beauty-365">
        <div class="coupon-left">
            <div class="time">领取时间:2017.01.01</div>
            <div class="code">编码:ADF32152</div>
        </div>
        <a href="#" class="coupon-right"></a>
    </div>
    <div class="coupon-item beauty-665">
        <div class="coupon-left">
            <div class="time">领取时间:2017.01.01</div>
            <div class="code">编码:ADF32152</div>
        </div>
        <a href="#" class="coupon-right"></a>
    </div>
    <div class="coupon-item beauty-1365">
        <div class="coupon-left">
            <div class="time">领取时间:2017.01.01</div>
            <div class="code">编码:ADF32152</div>
        </div>
        <a href="#" class="coupon-right"></a>
    </div>
</div>
<div class="tab-switcher">
    <a href="">
        <div class="tab-item">
            <img src="./images/tab-item-main-stage.png">
            <div class="tab-title">主会场</div>
        </div>
    </a>
    <a href="">
        <div class="tab-item">
            <img src="./images/tab-item-silver-city.png">
            <div class="tab-title">银城</div>
        </div>
    </a>
    <a href="">
        <div class="tab-item">
            <img src="./images/tab-item-beauty-house.png">
            <div class="tab-title">美丽屋</div>
        </div>
    </a>
    <a href="">
        <div class="tab-item my-card active">
            <img src="./images/tab-item-card.png">
            <div class="tab-title">我的卡卷</div>
        </div>
    </a>
</div>
</body>
<script>
    ;(function (doc, win) {
        var docEl = doc.documentElement,
                resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
                recalc = function () {
                    var clientWidth = docEl.clientWidth;
                    if (!clientWidth) return;
                    docEl.style.fontSize = 20 * (clientWidth / 375) + 'px';
                };

        if (!doc.addEventListener) return;
        win.addEventListener(resizeEvt, recalc, false);
        doc.addEventListener('DOMContentLoaded', recalc, false);

    })(document, window);
</script>
</html>